# 3 solid cubes

eye { 0.0, 0.0, 4.0 }
background none

object middle {
  center { 0.0, 0.0, -9.0 }
  rotate { 2, 2, 0 }
  surface front {
    style color 1
    vertex { -1.4, 1.4, 1.4 }
    vertex { -1.4, -1.4, 1.4 }
    vertex { 1.4, -1.4, 1.4 }
    vertex { 1.4, 1.4, 1.4 }
  }
  surface right {
    style color 2
    vertex { 1.4, 1.4, 1.4 }
    vertex { 1.4, -1.4, 1.4 }
    vertex { 1.4, -1.4, -1.4 }
    vertex { 1.4, 1.4, -1.4 }
  }
  surface back {
    style color 3
    vertex { 1.4, 1.4, -1.4 }
    vertex { 1.4, -1.4, -1.4 }
    vertex { -1.4, -1.4, -1.4 }
    vertex { -1.4, 1.4, -1.4 }
  }
  surface left {
    style color 4
    vertex { -1.4, 1.4, -1.4 }
    vertex { -1.4, -1.4, -1.4 }
    vertex { -1.4, -1.4, 1.4 }
    vertex { -1.4, 1.4, 1.4 }
  }
  surface top {
    style color 5
    vertex { -1.4, 1.4, -1.4 }
    vertex { -1.4, 1.4, 1.4 }
    vertex { 1.4, 1.4, 1.4 }
    vertex { 1.4, 1.4, -1.4 }
  }
  surface bottom {
    style color 6
    vertex { -1.4, -1.4, 1.4 }
    vertex { -1.4, -1.4, -1.4 }
    vertex { 1.4, -1.4, -1.4 }
    vertex { 1.4, -1.4, 1.4 }
  }
}

object front {
  center { -1.0, 0.0, -6.0 }
  rotate { 2, 0, 2 }
  surface front {
    style color 1
    vertex { -2.5, -1.5, -1.5 }
    vertex { -2.5, -2.5, -1.5 }
    vertex { -1.5, -2.5, -1.5 }
    vertex { -1.5, -1.5, -1.5 }
  }
  surface right {
    style color 2
    vertex { -1.5, -1.5, -1.5 }
    vertex { -1.5, -2.5, -1.5 }
    vertex { -1.5, -2.5, -2.5 }
    vertex { -1.5, -1.5, -2.5 }
  }
  surface back {
    style color 3
    vertex { -1.5, -1.5, -2.5 }
    vertex { -1.5, -2.5, -2.5 }
    vertex { -2.5, -2.5, -2.5 }
    vertex { -2.5, -1.5, -2.5 }
  }
  surface left {
    style color 4
    vertex { -2.5, -1.5, -2.5 }
    vertex { -2.5, -2.5, -2.5 }
    vertex { -2.5, -2.5, -1.5 }
    vertex { -2.5, -1.5, -1.5 }
  }
  surface top {
    style color 5
    vertex { -2.5, -1.5, -2.5 }
    vertex { -2.5, -1.5, -1.5 }
    vertex { -1.5, -1.5, -1.5 }
    vertex { -1.5, -1.5, -2.5 }
  }
  surface bottom {
    style color 6
    vertex { -2.5, -2.5, -1.5 }
    vertex { -2.5, -2.5, -2.5 }
    vertex { -1.5, -2.5, -2.5 }
    vertex { -1.5, -2.5, -1.5 }
  }
}

object back {
  center { 1.0, 0.0, -12.0 }
  rotate { 2, 0, 2 }
  surface front {
    style color 1
    vertex { 1.5, 2.5, 2.5 }
    vertex { 1.5, 1.5, 2.5 }
    vertex { 2.5, 1.5, 2.5 }
    vertex { 2.5, 2.5, 2.5 }
  }
  surface right {
    style color 2
    vertex { 2.5, 2.5, 2.5 }
    vertex { 2.5, 1.5, 2.5 }
    vertex { 2.5, 1.5, 1.5 }
    vertex { 2.5, 2.5, 1.5 }
  }
  surface back {
    style color 3
    vertex { 2.5, 2.5, 1.5 }
    vertex { 2.5, 1.5, 1.5 }
    vertex { 1.5, 1.5, 1.5 }
    vertex { 1.5, 2.5, 1.5 }
  }
  surface left {
    style color 4
    vertex { 1.5, 2.5, 1.5 }
    vertex { 1.5, 1.5, 1.5 }
    vertex { 1.5, 1.5, 2.5 }
    vertex { 1.5, 2.5, 2.5 }
  }
  surface top {
    style color 5
    vertex { 1.5, 2.5, 1.5 }
    vertex { 1.5, 2.5, 2.5 }
    vertex { 2.5, 2.5, 2.5 }
    vertex { 2.5, 2.5, 1.5 }
  }
  surface bottom {
    style color 6
    vertex { 1.5, 1.5, 2.5 }
    vertex { 1.5, 1.5, 1.5 }
    vertex { 2.5, 1.5, 1.5 }
    vertex { 2.5, 1.5, 2.5 }
  }
}

